import request from '@/utils/request'
import API from './constants'

export const login = userinfo => request({
  url: API.LOGIN_API,
  method: 'POST',
  data: userinfo
})
